﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Security.Cryptography;

namespace ChargeCard.Web.Models
{
    public partial class Voucher
    {
        public String PlainPIN {
            get
            {
                return Voucher.DecryptPin(this.Pin);
            }
            set
            {
                this.Pin = Voucher.EncryptPin(value);
            }
        }

        public static string EncryptPin(string input)
        {
            return input;
        }

        public static string DecryptPin(string input)
        {
            return input;
        }
    }
}